package com.bstek.bdf2.protal.manageProtal;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.bstek.dorado.annotation.PropertyDef;

 
 
/**
 * 
 * @author zxq
 *
 */
@Entity
@Table(name="MES_MANAGE_PROTAL")
public class ManageProtal implements Serializable {
	
	private static final long serialVersionUID = 1L;
	@Id
    @Column(name = "ID", length = 32, nullable = false)
	@PropertyDef(label = "主键")
	private String id;
	 
	@Column(name = "BUSINESS_ID", length = 32)
	@PropertyDef(label = "业务主键")
	private String businessId;
	
	
	@Column(name = "DETAILS", length = 2000)
	@PropertyDef(label = "内容消息")
	private String  details;//门户内容，应该使用大字段
	
	@Column(name = "MODULE_PROTAL", length = 20)
	@PropertyDef(label = "所属门户模块")
	private String moduleProtal;//所属对应的门户模块
	
	
	@Column(name = "REMARK", length = 200)
	@PropertyDef(label = "备注")
	private String remark;
	
	
	@Column(name = "CREATE_TIME")
	@PropertyDef(label = "创建时间")
	private Date createTime;
	
	@Column(name = "CREATE_USER")
	@PropertyDef(label = "创建人")
	private String createUser;
	
	
	@Column(name = "ISSUESTATE", length = 2)
	@PropertyDef(label = "发布状态")//1发布，0未发布
	private String issueState;
	
	@Column(name = "texts")
	@PropertyDef(label = "新闻内容") 
	private String texts;
 
	@Transient
	@PropertyDef(label = "收入")
	private String salaryShow;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
 

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getModuleProtal() {
		return moduleProtal;
	}

	public void setModuleProtal(String moduleProtal) {
		this.moduleProtal = moduleProtal;
	}
	
	
	
	
}
